<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="http://beta.mamsy.ru/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/brands</td>
	<td></td>
</tr>
<tr>
	<td>waitForPageToLoad</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.brand_letters</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.brand_letters &gt; i</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='content']/div[3]/div[2]/i</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='content']/div[3]/div[2]/i[2]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='content']/div[3]/div[2]/i[28]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Популярные</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Популярные</td>
	<td></td>
</tr>
<tr>
	<td>waitForPageToLoad</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='content']/div[3]/ol/li/div/a/img</td>
	<td></td>
</tr>
<tr>
	<td>waitForPageToLoad</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>waitForText</td>
	<td>id=brand-comment-text</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>id=add-comment-button</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>id=brand-comment-text</td>
	<td>Тестовый комментарий.</td>
</tr>
<!--Голосуем-->
<tr>
	<td>waitForElementPresent</td>
	<td>xpath=(//a[contains(text(),'4')])[2]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//a[contains(text(),'5')])[2]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//a[contains(text(),'1')])[3]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=(//a[contains(text(),'5')])[2]</td>
	<td></td>
</tr>
<!---->
<tr>
	<td>clickAndWait</td>
	<td>id=add-comment-button</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>css=h1.navig &gt; a</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
